package com.examlpe.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
@Data
public class CreateUserByActivityParam implements Serializable {
    //活动关联人员id
    @NotNull(message = "活动关联人员id不能为空！")
    private Long UserId;
    //人员姓名
    @NotBlank(message = "姓名不能为空！")
    private String userName;
}
